package dto;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import type.EstadoType;




@XmlRootElement (name="user")
@XmlAccessorType(XmlAccessType.FIELD)
public class UserDTO  implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	/**No se utiliza ningun metodo hash o de encriptacion*/
	
	@XmlElement
	private EstadoType estado;
	
	@XmlElement
	private Integer id;
	
	@XmlElement
	private String password;
	@XmlElement
	private String username;
	
	
	
	
	public UserDTO() {
		
	}


	public EstadoType getEstado() {
		return estado;
	}


	public Integer getId() {
		return id;
	}


	public String getPassword() {
		return password;
	}


	public String getUsername() {
		return username;
	}


	public void setEstado(EstadoType estado) {
		this.estado = estado;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	

	public void setPassword(String password) {
		this.password = password;
	}


	public void setUsername(String username) {
		this.username = username;
	}




}
